package com.onesports.intelligent.k12.polarlight.domain.vo.cls;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.onesports.intelligent.k12.polarlight.domain.vo.course.CourseScheduleDetailVO;
import com.onesports.intelligent.k12.polarlight.domain.vo.student.StudentByClassIdVO;
import com.onesports.intelligent.k12.polarlight.domain.vo.student.StudentDetailVO;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * @author FPH
 * @since 2022年7月14日17:19:03
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel("机构端班级详情")
public class ClassDetailVO {

    @ApiModelProperty("班级")
    private String className;

    @ApiModelProperty("课程名称")
    private String courseName;

    @ApiModelProperty("教练")
    private String staffName;

    @ApiModelProperty("校区")
    private String campusName;

    @ApiModelProperty("班型")
    private String typeName;

    @ApiModelProperty("单价")
    private BigDecimal price;

    @ApiModelProperty("上课日期-开始")
    @JsonFormat(pattern = "MM-dd")
    private Date startDate;

    @ApiModelProperty("上课日期-结束")
    @JsonFormat(pattern = "MM-dd")
    private Date endDate;

    @ApiModelProperty("上课时段-开始")
    @JsonFormat(pattern = "HH:mm:ss")
    private Date startPeriod;

    @JsonFormat(pattern = "HH:mm:ss")
    @ApiModelProperty("上课时段-结束")
    private Date endPeriod;

    @ApiModelProperty("状态")
    private String classStatus;

    @ApiModelProperty("拼成时间")
    private Date completeTime;

    @ApiModelProperty("结束时间")
    private Date endTime;

    @ApiModelProperty("学员信息")
    private List<StudentByClassIdVO> studentList;

    @ApiModelProperty("排课表")
    private List<CourseScheduleDetailVO> courseList;

    @ApiModelProperty("星期code数组")
    private String[] weekCode;

    @ApiModelProperty("发起时间")
    private Date createdDate;
}
